<#--类名 = 指定的名字 + 指定后缀-->
<#assign className = entity.name + project.entity.suffix!>
<#--包名-->
package ${project.entity.pkg};

<#--导入实体类中类型所在包-->
<#list entity.fields as field>
    <#if field.type??>
        import ${field.fullType};
    </#if>
</#list>

import lombok.experimental.Accessors;
import lombok.Data;

/**
 * 实体: ${entity.comment}
 * @author ${project.author}
 * @date ${date}
 */
@Data
@Accessors(chain = true)
public class ${className} {

private static final long serialVersionUID = 1L;
<#list entity.fields as field>
    /**
     *  ${field.comment!}
     */
    private ${field.simpleType} ${field.name};
</#list>

}